body {
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #353540;
}

.navbar {
    position: fixed;
    /*overflow: hidden;*/
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    color: #353540;
    padding: 0.625rem 1.25rem;
    box-sizing: border-box;
    z-index: 1000;

}

.navbar-brand {
    float: left;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 1.625rem;
    font-weight: bold;
}

.navbar-links {
    display: flex;
    align-items: center;
    /*margin-left: 26.25rem;*/
    margin-left: 37%;
    margin-top: 0.4375rem;
}

.navbar-links a {
    color: #353540;
    text-decoration: none;
    margin-left: 5rem;
    font-size: 1.125rem;
}

/* 设置“识别诊断”按钮样式 */
.navbar-links a:nth-child(2) {
    background-color: #8D0000;
    padding: 0.3125rem 1.125rem;
    border-radius: 3.125rem;
    transition: background-color 0.3s; /* 添加过渡效果 */
    color: #ffffff;
}

.navbar-links a:nth-child(2):hover {
    box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.3);
    background-color: #c20000; /* 鼠标悬停时的颜色 */
}

.begin-button {
    margin-top: 1.875rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1.75rem; /* 设置按钮之间的间距 */
}

.patient a,
.doctor a {
    background-color: #B30000;
    padding: 0.6rem 1.2rem 0.6rem 1.2rem;
    border-radius: 3.125rem;
    transition: background-color 0.3s;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1875rem;
    display: flex;
    align-items: center;
}

.patient a img,
.doctor a img {
    margin-right: 0.5rem; /* 调整图标和文字之间的距离 */
}

.begin-button a:hover {
    box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.3);
    border-radius: 3.125rem;
    background-color: #C20000; /* 鼠标悬停时的颜色 */
}

.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #ffffff;
}

.main-title {
    font-weight: bold;
    font-size: 5.375rem;
    margin-bottom: 0.25rem;
}

.sub-title {
    font-weight: bold;
    font-size: 2.25rem;
}

.highlight {
    color: #c00000;
}

.system-intro {
    max-width: 56.25rem;
    margin-top: 1.25rem;
    text-align: center;
    word-wrap: break-word;
}